# $Id: PKGBUILD 88544 2013-04-19 13:27:42Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>

pkgname=libzdb
pkgver=2.11.2
pkgrel=1
pkgdesc="Zild Database Library"
arch=('i686' 'x86_64')
url="http://www.tildeslash.com/libzdb/"
license=('GPL')
depends=('postgresql-libs' 'sqlite' 'libmariadbclient')
options=('!libtool')
source=(http://www.tildeslash.com/libzdb/dist/libzdb-$pkgver.tar.gz)
md5sums=('f3ebd6c32c47be084643a44d34459499')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  ./configure --prefix=/usr
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir/" install
}
